<?php

namespace ai;

require_once(__DIR__ . '/db/db.php');
require_once(__DIR__ . '/app/app.php');
//require_once(__DIR__ . '/sms/sms.php');
require_once(__DIR__ . '/curl/curl.php');
require_once(__DIR__ . '/request/request.php');
require_once(__DIR__ . '/response/response.php');


class Base
{

    /**
     * @var \ai\db\Db
     */
    public static $db;

    /**
     * @var \ai\app\app
     */
    public static $app;

    /**
     * @var \ai\request\Request
     */
    public static $req;

    /**
     * @var \ai\response\Response
     */
    public static $res;

    /**
     * @var \ai\curl\Curl
     */
    public static $curl;

    function __construct()
    {
        static::$db = new \ai\db\Db();
        static::$app = new \ai\app\App();
        static::$curl = new \ai\curl\Curl();
        static::$req = new \ai\request\Request();
        static::$res = new \ai\response\Response();
    }


}
